/**
 * Created with IntelliJ IEDA.
 * Description:
 * User:86186
 * Date:2022-05-11
 * Time:23:33
 */
public class TestDemo2 {
    public static void main(String[] args) {
        Date date=new Date();
        date.setYear(2022);
        System.out.println(date.getYear());

        /*date.month=5;
        date.day=12;
        date.printDate();*/
    }
}
